.class Lcom/waiqin365/lightapp/kehu/ff;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/fe;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/fe;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/aj;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/aj;->b()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/aj;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/aj;->e()Ljava/util/HashMap;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;Ljava/util/HashMap;)Ljava/util/HashMap;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/aj;->a()Ljava/util/ArrayList;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->b(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/fe;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->a(Lcom/waiqin365/lightapp/kehu/fe;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->c(Lcom/waiqin365/lightapp/kehu/fe;)I

    move-result v1

    if-ge v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->d(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->e(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/widget/LinearLayout;

    move-result-object v1

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->e(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->d(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->removeView(Landroid/view/View;)V

    :cond_1
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->h(Lcom/waiqin365/lightapp/kehu/fe;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/fe;->b()V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->d(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->e(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/widget/LinearLayout;

    move-result-object v1

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->e(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/fe;->d(Lcom/waiqin365/lightapp/kehu/fe;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->removeView(Landroid/view/View;)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->f(Lcom/waiqin365/lightapp/kehu/fe;)I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ff;->a:Lcom/waiqin365/lightapp/kehu/fe;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/fe;->g(Lcom/waiqin365/lightapp/kehu/fe;)I

    goto :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0xc
        :pswitch_0
    .end packed-switch
.end method
